import request from "@/utils/request.js";

// 获取邀请人收益
export function pages(data) {
  return request.post('/campus/studentAuth/app/page', data, {
    noAuth: false
  });
}


export function getSchools() {
  return request.get('/campus/studentAuth/app/school', {}, {
    noAuth: false
  });
}

/**
 *
 * @param data {
 *   state,id,refuseReason
 * }
 * @returns {*|Promise<HttpResponse<any>>}
 */
export function authAudit(data) {
  return request.put('/campus/studentAuth/app/authAudit', data, {
    noAuth: false
  });
}
